home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
INFO
/
FTP2UK23.ZIP
/
ftget
next >
Wrap
Text File
|
1991-09-16
|
585b
|
33 lines
#!/bin/sh
#
# $Id: ftget,v 1.0 91/09/16 18:00:12 nino Exp Locker: nino $
#
# N.Margetic, Dept. of Medical Physisc, UCL (nino@mph.sm.ucl.ac.uk)
# script for getting the stuff via ft-relay
#
# $Log: ftget,v $
# Revision 1.0 91/09/16 18:00:12 nino
# Initial revision
#
#
pgname=`basename $0`
swch=
dir=
file=
host=
user=anonymous
pw=nino@mph.sm.ucl.ac.uk
#
case $1 in
"") echo "usage: $pgname [-b] directory file host"; exit 1;;
-*) swch=$1; shift;;
esac
#
dir=$1; shift;
file=$1; shift;
host=$1; shift;
#
cpf $swch -U=$user@$host -p=$pw $dir/$file@uk.ac.ft-relay $file
#
# end